def add(a, b):
	return a + b

def subtract(a, b):
	return a - b

def multiply(a, b):
	return a * b

def divide(a, b):
	return a / b

def mod(a, b):
	return a % b

operation = raw_input("Enter your operation:\nAdd\nSubtract\nMultiply\nDivide\nModulo\n");
a = float(raw_input("Enter the first number: "))
b = float(raw_input("Enter the second number: "))
if operation.lower() == "add":
	print add(a,b)
elif operation.lower() == "subtract":
	print subtract(a,b)
elif operation.lower() == "multiply":
	print multiply(a,b)
elif operation.lower() == "divide":
	print divide(a,b)
elif operation.lower() == "modulo":
	print mod(a,b)

